﻿namespace HiMap.Carto
{
    using System;

    public class FieldClass : IField
    {
        protected internal string _Name;
        protected internal FieldType _Type;

        public FieldClass()
        {
            this._Type = FieldType.NotType;
            this._Name = "";
        }

        protected internal FieldClass(FieldType Type, string Name)
        {
            this._Type = Type;
            this._Name = Name;
        }

        string IField.Name
        {
            get
            {
                return this._Name;
            }
        }

        FieldType IField.Type
        {
            get
            {
                return this._Type;
            }
        }
    }
}

